package ru.spbu.math.seabattle.server.messages;

import java.io.Serializable;

import ru.spbu.math.seabattle.entity.PlayerID;

public class WithdrawOpponentMessage implements Serializable {

	private static final long serialVersionUID = 1L;

	private final PlayerID playerID;
	private final PlayerID opponentID;

	public WithdrawOpponentMessage(PlayerID opponentID, PlayerID playerID) {
		this.opponentID = opponentID;
		this.playerID = playerID;
	}

	public PlayerID getPlayerID() {
		return playerID;
	}

	public PlayerID getOpponentID() {
		return opponentID;
	}
}
